package com.young.service.impl;

import com.young.entity.TOrder;
import com.young.mapper.TOrderMapper;
import com.young.service.TOrderService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
* @author young
* @date 2021-08-25
* @description t_order :  服务实现类
*/
@Service
public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> implements TOrderService {
	
	@Autowired
	private TOrderMapper tOrderMapper;

	/**
	*  查询表t_order所有信息
	*/
	@Override
	public List<TOrder> findAllTOrder() { return tOrderMapper.findAllTOrder();}


	/**
	*  根据条件查询表t_order信息
	*  @param tOrder
	*/
	@Override
	public List<TOrder> findTOrderByCondition(TOrder tOrder) { return tOrderMapper.findTOrderByCondition(tOrder);}




}
